Actual Tools Home Page

How Actual Tools Program Selects a Proper Rule to Apply

The instant a particular window appears the Actual Tools program's Control Center performs the following actions:

  • scans sequentially (from top to bottom) the list of Specific Window rules in the order they occur in the Navigation Pane of the Configuration Module and tries to match the window with one of the sets of Target Window criteria appearing in the Target Window pane. Note that it skips the disabled (i.e. unchecked) rules while scanning. Upon locating a rule which is both enabled and matches the criteria for that particular window this is considered to be the appropriate target window and the whole process stops. If the Control Center scans all the way to the end of the list and an appropriate rule is not found the program proceeds to the following step...
  • scans sequentially the Excluded Windows list and tries to match the window with one of the sets of Target Window criteria appearing in the Target Window pane, just below the list of rules. Note that it skips the disabled (i.e. unchecked) rules while scanning. Upon locating a rule which is both enabled and matches the criteria for that particular window this is considered to be the appropriate target window, the process stops, and the window is left unchanged. If the Control Center scans all the way to the end of the list and an appropriate rule is not found the program proceeds to the last step...
  • checks to see if the All Windows rule is enabled (i.e. checked). If the answer is yes then the All Windows rule is applied to the window - otherwise, if the All Windows rule has been disabled (i.e. unchecked) the window is left unchanged, and at this point the process terminates completely.

During the scanning process the Actual Tools program's Control Center checks the Target Window criteria utilizing the following rules:

  • it considers enabled criteria only
  • it considers the criterion to be disabled if the criterion is enabled (i.e., its checkbox is checked) but no value has been provided
  • it considers all the criteria for a potential target window as a whole: i.e., if the scan fails to meet any single criterion of several criteria then the test fails completely
  • it always tests the Window Class and the Program values for a substring match
  • it tests Window Caption value according to the chosen method: either an exact match or a substring match

 Copyright © 2002-2007 Actual Tools. All rights reserved.
 Last modified: June 2, 2006.